package com.angel.service.ServiceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.angel.bean.RecordsDetils;
import com.angel.mapper.RecordsDetilsDao;
import com.angel.service.RecordsDetilsService;

@Service
public class RecordsDetilsServiceImpl implements RecordsDetilsService{

    @Resource
    private RecordsDetilsDao recordsDetilsDao;

    @Override
    public int insert(RecordsDetils recordsDetils){
        return recordsDetilsDao.insert(recordsDetils);
    }

    @Override
    public int insertSelective(RecordsDetils recordsDetils){
        return recordsDetilsDao.insertSelective(recordsDetils);
    }

    @Override
    public int insertList(List<RecordsDetils> recordsDetilss){
        return recordsDetilsDao.insertList(recordsDetilss);
    }

    @Override
    public int update(RecordsDetils recordsDetils){
        return recordsDetilsDao.update(recordsDetils);
    }

    @Override
    public List<RecordsDetils> selectedAll(RecordsDetils recordsDetils) {
        return recordsDetilsDao.selectAll(recordsDetils);
    }
}
